import request from '@/plugins/axios'

export function UserLogin(data) {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}

export function GetInfo() {
  return request({
    url: '/system/user/info',
    method: 'get'
  })
}